package com.android.advertising;

public class Constants {
	public static final String REST_SERVER = "http://27.0.15.39:8082/TA-Server";
	public static final String REST_ARTICLES = "/v1/articles";
	public static final String REST_REGISTER = "/v1/register";
	public static final String ARTICLES_DATA = "data";
	public static final String ARTICLES_ID = "article_id";
	public static final String ARTICLES_SERVER_ID = "id";
	public static final String ARTICLES_TITLE = "title";
	public static final String ARTICLES_TIME = "created";
	public static final String ARTICLES_LINK = "link";
	public static final String ARTICLES_THUMBLINK = "thumbLink";
	public static final String ARTICLES_ISREAD = "isread";
	public static final String ARTICLES_ISACTIVE = "isactive";
	public static final String DATABASE_NAME = "ad.db";
	public static final int DATABASE_VERSION = 6;
	public static final String ARTICLE_TABLE = "article";
	public static final String CREATE_TABLE_ARTICLE = "create table "
			+ ARTICLE_TABLE + "(" + ARTICLES_ID
			+ " integer primary key autoincrement, " + ARTICLES_SERVER_ID
			+ " integer, " + ARTICLES_TITLE + " text, " + ARTICLES_TIME
			+ " text,  " + ARTICLES_LINK + " text, " + ARTICLES_THUMBLINK
			+ " text, " + ARTICLES_ISREAD + " integer, " + ARTICLES_ISACTIVE
			+ " integer" + ");";
	public static final String DROP_TABLE_ARTICLE = "drop table if exists "
			+ ARTICLE_TABLE;
	public static final String GCM_DELIVER_FLAG = "GCM_DELIVER_FLAG";
	public static final String GCM_REG_ID = "GCM_REG_ID";
	public static final String GCM_REG_ID_DATE = "GCM_REG_ID_DATE";
	public static final String SENDER_ID = "380033068777";// "647107749077";
	public static final String IMEI = "IMEI";

}
